package fr.iut.tp3.controller.commands;

public class CQuitter implements Commande {

	/** Instance singleton. */
	private static CQuitter instance;

	
	/**
	 * @return {@link #instance}
	 */
	public static Commande getInstance() {
		if (instance == null) {
			instance = new CQuitter();
		}
		return instance;
	}

	/**
	 * {@inheritDoc}
	 */
	@Override
	public void execute() {
		System.exit(0);
	}

}
